shape up or ship out

Translations
взяться за ум или уходить
The boss told him to shape up or ship out after yet another mistake.
Босс сказал ему взяться за ум или уходить после очередной ошибки.
Definitions
A phrase used to warn someone that they must improve their behavior or performance or else face negative consequences, such as being removed from a position or situation.
Words
shape

noun
форма
ship

noun
корабль
shape

verb
формировать